<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script>
parent.document.getElementById('corpo').height = 395;
function aumentaframe (linhas)
{
	parent.document.getElementById('corpo').height = linhas;	
}
function carregaFrame (valor, pagina)
{
	parent.document.getElementById('nivel2').innerHTML = " &nbsp; "  + 
	"<a href=\"javascript:;\" title=\"" + pagina + "\" target=\"_parent\" onClick=\"carregaFramePrincipal('"+ valor +"', '0');\">" + pagina + "</a>";
	parent.document.getElementById('corpo').src = valor;
}
</script>
</head>

<?php
require_once("../funcoes/restricaoAcesso.php");
?>

<body onload="aumentaframe(400)">
<?php
if ($_SESSION['administrador']) 
{ 
?>
<table border="0" align="center" cellpadding="0" cellspacing="10" >

<tr>
<td width="150">&nbsp;</td>
<td width="150">&nbsp;</td>
<td width="150">&nbsp;</td>
<td width="150">&nbsp;</td>
</tr>

<tr >
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>

<tr>
<td width="150">&nbsp;</td>
<td><a href="javascript:;" title="Alterar Senhas" target="_parent" onclick="carregaFrame('alterar_senha.php', 'Muda Senha');"><img src="../img/senha.gif" width="200" height="150" /></a></td>
<td><a href="javascript:;" title="Cadastro de Usuário" target="_parent" onclick="carregaFrame('cad_usuario.php', 'Usuário');"><img src="../img/cad_usr.gif" width="200" height="150" /></a></td>
<td width="150">&nbsp;</td>
</tr>

</table>
<?php 
}
?>
</body>
</html>
